Skip to content

infra: validation script and CI workflow#123

Merged
marc0olo merged 1 commit into
mainfrom
infra/validation-scripts
Apr 17, 2026
Merged

infra: validation script and CI workflow#123
marc0olo merged 1 commit into
mainfrom
infra/validation-scripts

Conversation

@marc0olo
Copy link
Copy Markdown
Member

Summary

  • Adds scripts/validate.js with four checks: upstream comment, frontmatter (title + description), forbidden patterns (mo:base, old docs URLs), and internal links
  • Replaces check-upstream-notes.yml with validate.yml — consolidates all checks into one workflow, same changed-files-only scope in CI
  • Adds npm run validate for local full-repo checks
  • Fixes 3 broken links found during baseline run (token-standards.md, guides/index.md, frontends/frameworks.md)
  • Known open issue: 2 mo:base references in optimization.md and randomness.md — tracked in fix: replace mo:base references in optimization and randomness guides #122

Sync recommendation

hand-written

- scripts/validate.js checks upstream comments, frontmatter, forbidden
  patterns (mo:base, old docs URLs), and internal links
- Replaces check-upstream-notes.yml with validate.yml — same changed-files
  scope, all four checks in one place
- npm run validate runs all checks locally against the full docs tree
- Fix 3 broken links found during baseline run
@marc0olo marc0olo merged commit ac5d98e into main Apr 17, 2026
1 check passed
@marc0olo marc0olo deleted the infra/validation-scripts branch April 17, 2026 23:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant